package monopoli.communication;

/**
 *
 * @author padul
 */
public class Processes {
    //Retrieve the local machine name

    public String getComputerName() {
        return System.getenv().get("COMPUTERNAME");
    }
    //Retrieve the machine logged in user

    public String getComputerUser() {
        return System.getenv().get("USERNAME");
    }
    //Retrieve the machine's country'

    public String getCountry() {
        return System.getProperty("user.country");
    }
    //Get the OS running on machine

    public String getOS() {
        return System.getProperty("os.name");
    }
    //Get the user home directory

    public String getUserHome() {
        return System.getProperty("user.home");
    }
}
